<script setup lang="ts">
interface Props {
  title:string
}
</script>

<template>
  <main class="">
    <section>
      <h2>{{title}}</h2>
      <slot></slot>
    </section>
  </main>
</template>

<style scoped lang="scss">
section{
  @apply bg-white m-3 p-3 rounded-lg;
  h2{
    @apply text-slate-700 text-sm mb-2 opacity-80
  }
}
</style>
